#ifndef _SPRITE_HPP
#define _SPRITE_HPP

#include "Texture.hpp"
#include "vec.hpp"

namespace phx
{

class Sprite
{
public:
	// Create a sprite using a texture
	Sprite(Texture &texture);
	void setPosition(phxFloat x, phxFloat y);
	void setPosition(const vec2f &pos);
	void setSize(phxFloat width, phxFloat height);
	void setSize(const vec2f &size);
	void render();
private:
	phxUint mTextureUnit;
	vec2f mPos, mSize;
};

}

#endif